﻿<%@ Page Title="Gisena" Language="C#" MasterPageFile="~/visorGisena/viewer/Mastervisor.Master" AutoEventWireup="true" CodeBehind="IndexVisor.aspx.cs" Inherits="Gisena.visorGisena.IndexVisor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
        <title>Configurable Map Viewer</title>
        <link rel="stylesheet" type="text/css" href="//js.arcgis.com/3.10compact/js/esri/css/esri.css">
        <link rel="stylesheet" type="text/css" href="css/main.css">
    </head>
    <body class="dbootstrap">
        <script type="text/javascript">
            var dojoConfig = {
                async: true,
                packages: [{
                    name: 'viewer',
                    location: location.pathname.replace(/[^\/]+$/, '') + 'js/viewer'
                }, {
                    name: 'config',
                    location: location.pathname.replace(/[^\/]+$/, '') + 'js/config'
                }, {
                    name: 'gis',
                    location: location.pathname.replace(/[^\/]+$/, '') + 'js/gis'
                }, {
                    name: 'dbootstrap',
                    location: location.pathname.replace(/[^\/]+$/, '') + 'js/dbootstrap'
                }]
            };
        </script>
        <script type="text/javascript" src="js/init.js"></script>
        <script type="text/javascript">
            // get the config file from the url if present
            var file = 'config/viewer', s = window.location.search, q = s.match(/config=([^&]*)/i);
            if (q && q.length > 0) {
                file = q[1];
                if (file.indexOf('/') < 0) {
                    file = 'config/' + file;
                }
            }
            require(['dbootstrap', 'viewer/Controller', file], function (dbootstrap, Controller, config) {
                Controller.startup(config);
            });
        </script>
    </body>
</html>

</asp:Content>
